/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package org.cloudbus.cloudsim.power.models.scheduling.client;

import java.util.ArrayList;
import org.cloudbus.cloudsim.power.models.scheduling.Middleware;

/**
 *
 * @author Márcio Costa Junior - University of São Paulo, Montana State University
 */
public class GroupOfClients extends Client{
    
    private ArrayList<Request> requests;
    
    public GroupOfClients(String name, int zone, ClientManager cm, int period){
        super(name, zone, cm, period);
        
        setRequests(new ArrayList<Request>());
    }
    
        
    //Can send a flow of requests
    @Override
    protected void sendRequestRunTime(Object obj){
        //Anything yet  
    }

    /**
     * @return the requests
     */
    public ArrayList<Request> getRequests() {
        return requests;
    }

    /**
     * @param requests the requests to set
     */
    public void setRequests(ArrayList<Request> requests) {
        this.requests = requests;
    }
    
}
